package com.tudouji.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author jsd
 * @version v1.0
 * @ClassName KDNConfig
 * @Descrption 快递鸟参数
 * @date 2023-11-09 09点18分
 */
@Component
@ConfigurationProperties(prefix = "kdn")
public class KDNConfig {
    private static String url;

    private static String ApiKey;

    private static String EBusinessID;

    private static String RequestType;

    public static String getUrl() {
        return url;
    }

    public  void setUrl(String url) {
        KDNConfig.url = url;
    }

    public static String getApiKey() {
        return ApiKey;
    }

    public void setApiKey(String apiKey) {
        ApiKey = apiKey;
    }

    public static String getEBusinessID() {
        return EBusinessID;
    }

    public  void setEBusinessID(String EBusinessID) {
        KDNConfig.EBusinessID = EBusinessID;
    }

    public static String getRequestType() {
        return RequestType;
    }

    public  void setRequestType(String requestType) {
        RequestType = requestType;
    }
}
